import baseRequest from './request'

export function Add({ data = {}, hasLoading = true } = {}) {
    return baseRequest({
        url: '/PowerCard/Add',
        method: 'POST',
        data,
        hasLoading
    })
}
export function HelpAdd({ data = {}, hasLoading = true } = {}) {
    return baseRequest({
        url: '/PowerCard/HelpAdd',
        method: 'POST',
        data,
        hasLoading
    })
}



export function List({ data = {}, hasLoading = true } = {}) {
    return baseRequest({
        url: '/PowerCard/List',
        method: 'POST',
        data,
        hasLoading
    })
}

export function Delete({ data = {}, hasLoading = true } = {}) {
    return baseRequest({
        url: '/PowerCard/Delete',
        method: 'GET',
        data,
        hasLoading
    })
}
